dsh-rewind: Bringing Time-Travel Capabilities to DeepSeek Harness

dsh-rewind is a plugin for DeepSeek Harness that ports the rollback capability from Claude Code. By capturing file snapshots, it supports restoring conversations, code, or both, and can start a summary branch. The plugin captures changes from structured write tools and provides menu-driven operations. Installation requires building and configuration, and it supports automatic GC after 14 days. When using it, note that unstructured tools such as bash cannot be rolled back, and direct file writes do not trigger approval.

Read More
dsh-time-travel: Reversible rollback and auditing for DSH tool side effects

dsh-time-travel is a reversible time-travel and audit tool designed for the DeepSeek Harness (DSH) plugin system, aiming to address the lack of stable rollback entry points resulting from the side effects of model tool execution (such as file read/write, shell commands, and HTTP requests). By monitoring tool pipeline events, the plugin establishes a "pre-state snapshot -> execution -> compensation" chain for file operations like `fs.write` and `fs.delete`, supporting the reverse restoration of the workspace by round. For operations that are difficult to automatically reverse, such as `bash` and `http.request`, it utilizes a built-in audit rule engine to record dangerous behaviors into JSON Lines logs. The plugin provides the `ctx.timeTravel` API, including `rewindTo` (specifying a rollback to a specific round).

Read More